import { createPinia } from 'pinia';
import piniaPluginPersist from 'pinia-plugin-persistedstate';
import useMainStore from './modules/main';

const pinia = createPinia();
pinia.use(piniaPluginPersist);//在引入持久化插件
export { useMainStore };

export default pinia;
